from db import db, create_app
from login import bp_login
from admin import bp_admin
from login.models import User

app = create_app('templates','static')
app.app_context().push()

app.register_blueprint(bp_login)
app.register_blueprint(bp_admin,url_prefix='/admin')

if __name__ == '__main__':
	app.run(host='0.0.0.0', port = 8000, debug = True)
